//
//  myappFirstViewController.h
//  myapp
//
//  Created by Paolo Marcolli on 08/01/12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "/usr/include/sqlite3.h"

@interface myappFirstViewController : UIViewController
{
    UITextField     *name;
    UITextField     *address;
    UITextField     *phone;
    UILabel         *status;
    NSString        *databasePath;
    sqlite3         *contactDB; //Declare a pointer to sqlite database structure

}

@property (strong, nonatomic) IBOutlet UITextField *name;
@property (strong, nonatomic) IBOutlet UITextField *address;
@property (strong, nonatomic) IBOutlet UITextField *phone;
@property (strong, nonatomic) IBOutlet UILabel *status;
- (IBAction) saveData;
- (IBAction) findContact;

@end
